package bankapplication.com.acme.bankapp.domain.bank;

import java.io.Serializable;

public abstract class AbstractAccount implements Account, Serializable {
  protected double balance;
  
  @Override
  public double getBalance(){
    return balance;
  }
  
  @Override
  public long decimalValue() {
    return Math.round(balance);
  }
  
}